<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%@include file="../common/base.jsp" %>
    <title>${appName}</title>
</head>
<body>
<script>
    (function () {
        var u = navigator.userAgent;
        var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1;             //安卓
        var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);                         //IOS
        if (isAndroid) {
            window.location.replace(window.downloadApp.android);
        } else if (isIOS) {
            window.location.replace(window.downloadApp.ios);
        }
    })()
</script>
</body>
</html>
